package com.example.demoview;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class HuiZongData {

    public List chart_hy_huizonga(){

        List<String> detail = new ArrayList<>();
        detail.add("会员类型");
        detail.add("百分率");
        return detail;
    }

    public List chart_hy_huizongb(){

        List detail = new ArrayList<>();
        detail.add("健康监测-血压");
        detail.add(3);
        return detail;
    }

    public List chart_hy_huizongc(){

        List detail = new ArrayList<>();
        detail.add("健康监测-血糖");
        detail.add(2);
        return detail;
    }

    public List chart_hy_huizongd(){

        List detail = new ArrayList<>();
        detail.add("健康监测-心电");
        detail.add(6);
        return detail;
    }

    public List chart_hy_huizonge(){

        List detail = new ArrayList<>();
        detail.add("健康监测-血氧");
        detail.add(5);
        return detail;
    }

    public List chart_hy_huizongf(){

        List detail = new ArrayList<>();
        detail.add("健康监测-尿酸");
        detail.add(2);
        return detail;
    }

    public List chart_hy_huizongg(){

        List detail = new ArrayList<>();
        detail.add("健康监测-胆固醇");
        detail.add(23);
        return detail;
    }

    public List chart_hy_huizongh(){

        List detail = new ArrayList<>();
        detail.add("健康服务");
        detail.add(11);
        return detail;
    }

    public List chart_hy_huizongi(){

        List detail = new ArrayList<>();
        detail.add("健康管理");
        detail.add(15);
        return detail;
    }

    public Map DataHuiZong() {

        List chart_hy_huizongA=chart_hy_huizonga();
        List chart_hy_huizongB=chart_hy_huizongb();
        List chart_hy_huizongC=chart_hy_huizongc();
        List chart_hy_huizongD=chart_hy_huizongd();
        List chart_hy_huizongE=chart_hy_huizonge();
        List chart_hy_huizongF=chart_hy_huizongf();
        List chart_hy_huizongG=chart_hy_huizongg();
        List chart_hy_huizongH=chart_hy_huizongh();
        List chart_hy_huizongI=chart_hy_huizongi();


        List<List> chart_hy_huizong = new ArrayList<>();
        chart_hy_huizong.add(chart_hy_huizongA);
        chart_hy_huizong.add(chart_hy_huizongB);
        chart_hy_huizong.add(chart_hy_huizongC);
        chart_hy_huizong.add(chart_hy_huizongD);
        chart_hy_huizong.add(chart_hy_huizongE);
        chart_hy_huizong.add(chart_hy_huizongF);
        chart_hy_huizong.add(chart_hy_huizongG);
        chart_hy_huizong.add(chart_hy_huizongH);
        chart_hy_huizong.add(chart_hy_huizongI);

        Map data = new HashMap();
        data.put("chart_hy_huizong",chart_hy_huizong);
        Map rejson = new HashMap();
        rejson.put("code",0);
        rejson.put("data",data);
        return rejson;
    }

}
